class Config {
  url = process.env.IUMS_HOST; //挂载配置地址
  getDoctor = "web/get_doctor"; ////首页获取教授信息
  getLunbo = "web/get_lunboList"; //首页获取轮播图
  getNews = "web/get_newsList"; //首页获取轮播列表
  getPersonList = "web/get_personList"; //获取组内成员
  getLife = "web/get_life"; //获取生活影集
  getIntroduction = "web/get_introduction"; //获取介绍
  getResultList = "web/get_resultList"; //研究成果列表
   getTopic = "web/get_topic";//获取课题组简介
  deleteNews = "admin/delete_news";//删除新闻
    addNews = "admin/add_news";//添加新闻
  updateDoctor = "admin/update_doctor"//更新教授
  addLunbo = "admin/add_lunbo";//添加轮播图
  deleteLunbo = "admin/delete_lunbo";//删除轮播图
  updateTopic = "admin/update_topic";//更新课题组信息
    deletePerson="admin/delete_person";//删除人员
    addPerson = "admin/add_person";//添加人员
    addResult = "admin/add_result";//添加研究成果
    updateLife = "admin/update_life";//更新生活影集
    updateIntroduction="admin/update_introduction";//更新联系信息
  getStr(str) {
    return config[str];
  }
}
let config = new Config();
export default config;
